package com.example.attendancesystem.Models;

import lombok.Data;

import java.util.List;

@Data
public class DataLeaveRow {
    private Integer code; //状态
    private String msg;  //消息
    private Integer count;  //总条数 即 data.size()
    private List<LeaveRow> data; //查询对象的列表

    public DataLeaveRow() {

    }

    public DataLeaveRow(Integer code, String msg, Integer count, List<LeaveRow> data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List<LeaveRow> getData() {
        return data;
    }

    public void setData(List<LeaveRow> data) {
        this.data = data;
    }
}
